package com.hdax.dmw.item;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hdax.dmw.BaseTimeEntity;
import lombok.Getter;
import lombok.Setter;

@TableName(value = "dm_item_type",schema = "dm_item")
@Getter
@Setter
public class DmItemType extends BaseTimeEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String itemType;
    private Integer level;
    private Integer parent;
    private String aliasName;
    @TableField(value = "`key`")
    private Integer key;
}
